﻿@model IEnumerable<SchoolProject2012.Areas.Eleve.Models.QUESTIONSONDAGE>
@using SchoolProject2012.Langue
@{
    ViewBag.Title = Resources.details;
}

<h2>@Resources.details</h2>

<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.LIBQUESTSON)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.LIBQUESTSON)
        </td>
        <td>
            @Html.ActionLink(Resources.repondre, "repondre", new { id = item.IDSONDAGE, idQuestion = item.IDQUESTSON, langue = ViewBag.langue }, new { @class = "link" }) |
            @Html.ActionLink(Resources.addReponse, "AjoutReponse", new { id = item.IDSONDAGE, question = item.IDQUESTSON, langue = ViewBag.langue }, new { @class = "link" })
        </td>
    </tr>
}

</table>
@Html.ActionLink(Resources.addQuestion, "AjoutQuestion", new { id = ViewBag.id, langue = ViewBag.langue }, new { @class = "link" })